export const AUTHS = {
  ALL: '*',
  ADMIN: 'admin'
}

export const URLS = {
  // 登录注册
  LOGIN: '/login',
  GET_LOGIN_CODE: '/login/send-code',
  LOGOUT: '/login/logout',
  REGISTER: '/register',
  GET_REGISTER_CODE: '/register/send-code',
  GET_USER_INFO: '/user/info',
  // 文件上传
  UPLOAD_CHECK: '/upload/check',
  UPLOAD_CHUNK: '/upload/chunk',
  UPLOAD_MERGE: '/upload/merge',
  CANCEL_UPLOAD: '/upload/cancel',
  GET_UPLOAD_FILES: '/upload/files',
  // 文件列表
  GET_FILES: '/files',
  DELETE_FILE: '/files/:id',
  BATCH_DELETE_FILE: '/files/bulk-delete',
  RENAME_FILE: '/files/:id/rename',
  CREATE_FOLDER: '/files/folder',
  FILE_DOWNLOAD: '/files/:id/download',
  FILE_PREVIEW: '/files/:id/preview',
  GET_FOLDERS: '/files/folders',
  MOVE_FILES: '/files/move'
}
